<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<input type="text" id="result" value="" />
		<input type="button" onclick="submit();" value="button" />
		<script type="text/javascript">
			function submit(){
				var value1=document.getElementById("result").value;
				console.log(value1==null);
				console.log(typeof value1);
			}
		</script>
	</body>
</html>
